filechooserbutton: Hide the combobox by default
authorTimm Bäder <mail@baedert.org>
Sun, 26 Mar 2017 10:42:07 +0000 (12:42 +0200)
committerTimm Bäder <mail@baedert.org>
Fri, 31 Mar 2017 07:50:39 +0000 (09:50 +0200)
gtk/gtkfilechooserbutton.c

index 96c66038ba957d79b7002586c207ed1f58a017f7..c8d3d52ba493c9a47fc18f0324b45aa33156f8cf 100644 (file)
@@ -553,7 +553,7 @@ gtk_file_chooser_button_init (GtkFileChooserButton *button)
   gtk_cell_layout_set_attributes (GTK_CELL_LAYOUT (priv->combo_box),
                                   priv->name_cell, "text", 1, NULL);
 
-
+  gtk_widget_hide (priv->combo_box);
   gtk_widget_set_parent (priv->combo_box, GTK_WIDGET (button));
 
   priv->child = priv->button;